
#这个版本号会影响被调用库的版本号，从而影响警告级别
cmake_minimum_required(VERSION 3.10)


project(main)


add_subdirectory(a)

add_executable(main main.cpp)
target_link_libraries(main liba)

#set_target_properties(main PROPERTIES COMPILE_FLAGS "/wd4700 /wd4600")
#target_compile_options(main PRIVATE  /wd4700 /wd4600)
#target_compile_options(main PRIVATE  /wd4700 )
#target_compile_options(main PRIVATE  /wd4600)